Vcenter Credential
The Vcenter Credential provides credential for authentication such as username/password or SAML token.
This schema was added in vSphere API 9.0.0.0.
{
"type": "string",
"username_password": {
"user_name": "string",
"password": "string"
},
"saml_token": "string"
}
The type of credential to use for connecting to a VC.
For more information see: Vcenter Credential Type.
This property was added in vSphere API 9.0.0.0.
Username-password details.
This property was added in vSphere API 9.0.0.0.
This property is optional and it is only relevant when the value of type is Vcenter Credential Type.USERNAME_PASSWORD.
SAML token details, when using SAML based authentication.
This property was added in vSphere API 9.0.0.0.
This property is optional and it is only relevant when the value of type is Vcenter Credential Type.SAML_TOKEN.